package com.jiangnan.pojo;

import java.io.Serializable;

public class MessageDetail implements Serializable {

    private String operator;

    private Info info;

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    public Info getInfo() {
        return info;
    }

    public void setInfo(Info info) {
        this.info = info;
    }

    public String getPic() {
        return getInfo().getPic();
    }

    public String getPersonName() {
        return getInfo().getPersionName();
    }

    public String getIdCard() {
        return getInfo().getIdCard();
    }

    public String getTime() {
        return getInfo().getTime();
    }

    private static class Info implements Serializable {
        private String customId;
        private String personId;
        private String RecordID;
        private String SnapID;
        //认证结果0: 无 1: 允许 2: 拒绝 3: 还没有注册
        private String VerifyStatus;//验证状态
        private String PersonType;//人员类型 0白名单，1黑名单
        private String similarity1;//相似度
        //0: 非实时数据（非 10S 内产生对的记录） 1: 实时数据（10S 内产生对的记录）
        private String Sendintime;//是否实时发送
        private String persionName;//姓名
        private String facesluiceId;//网络摄像机 ID，区分每一台机器
        private String idCard;//身份证
        private String telnum;//手机号码
        private String time;
        //0：戴口罩或者未勾选口罩检测功能 1：未戴口罩 2：未戴口罩（开门条件勾选未戴口罩允许通行）注：口罩版本支持
        private String isNoMask;
        //图片的 base64 编码(1M 以内)
        private String pic;

        public String getCustomId() {
            return customId;
        }

        public void setCustomId(String customId) {
            this.customId = customId;
        }

        public String getPersonId() {
            return personId;
        }

        public void setPersonId(String personId) {
            this.personId = personId;
        }

        public String getRecordID() {
            return RecordID;
        }

        public void setRecordID(String recordID) {
            RecordID = recordID;
        }

        public String getVerifyStatus() {
            return VerifyStatus;
        }

        public void setVerifyStatus(String verifyStatus) {
            VerifyStatus = verifyStatus;
        }

        public String getPersonType() {
            return PersonType;
        }

        public void setPersonType(String personType) {
            PersonType = personType;
        }

        public String getSimilarity1() {
            return similarity1;
        }

        public void setSimilarity1(String similarity1) {
            this.similarity1 = similarity1;
        }

        public String getSendintime() {
            return Sendintime;
        }

        public void setSendintime(String sendintime) {
            Sendintime = sendintime;
        }

        public String getPersionName() {
            return persionName;
        }

        public void setPersionName(String persionName) {
            this.persionName = persionName;
        }

        public String getFacesluiceId() {
            return facesluiceId;
        }

        public void setFacesluiceId(String facesluiceId) {
            this.facesluiceId = facesluiceId;
        }

        public String getIdCard() {
            return idCard;
        }

        public void setIdCard(String idCard) {
            this.idCard = idCard;
        }

        public String getTelnum() {
            return telnum;
        }

        public void setTelnum(String telnum) {
            this.telnum = telnum;
        }

        public String getTime() {
            return time;
        }

        public void setTime(String time) {
            this.time = time;
        }

        public String getIsNoMask() {
            return isNoMask;
        }

        public void setIsNoMask(String isNoMask) {
            this.isNoMask = isNoMask;
        }

        public String getPic() {
            return pic;
        }

        public void setPic(String pic) {
            this.pic = pic;
        }

        public String getSnapID() {
            return SnapID;
        }

        public void setSnapID(String snapID) {
            SnapID = snapID;
        }
    }
}
